package com.zhl.media.app.di.module;

import com.jess.arms.di.scope.ActivityScope;
import com.jess.arms.di.scope.FragmentScope;
import com.zhl.media.app.mvp.contract.AdjustedContract;
import com.zhl.media.app.mvp.contract.FrameContract;
import com.zhl.media.app.mvp.model.AdjustedModel;
import com.zhl.media.app.mvp.model.FrameModel;

import dagger.Module;
import dagger.Provides;


@Module
public class FrameModule {
    private FrameContract.View view;

    public FrameModule(FrameContract.View view) {
        this.view = view;
    }

    @FragmentScope
    @Provides
    FrameContract.View provideFrameView() {
        return this.view;
    }

    @FragmentScope
    @Provides
    FrameContract.Model provideFrameModel(FrameModel model) {
        return model;
    }
}